Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-write trace macro as a proc macro #37

Merged
merged 15 commits into from
Sep 9, 2024
Merged

re-write trace macro as a proc macro #37

merged 15 commits into from
Sep 9, 2024

Conversation

sam0x17
Copy link
Contributor

@sam0x17 sam0x17 commented Sep 6, 2024

  • re-writes the trace! macro as a proc macro, fixing the calculation of ROW_NUMBER and doing this calculation entirely at compile time instead of at const eval time
  • adds parsing tests for the trace! macro, covering parsing edge cases and code generation
  • add runtime tests for trace! macro

currently one test still failing 2D arrays: https://github.com/0xPolygonHermez/pil2-proofman/actions/runs/10745134827/job/29803546597?pr=37

@RogerTaule RogerTaule marked this pull request as ready for review September 9, 2024 12:48
@RogerTaule RogerTaule merged commit 84391e0 into develop Sep 9, 2024
7 of 8 checks passed
@RogerTaule RogerTaule deleted the sam-trace-macro branch September 16, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants